#ifndef NP_XTIMER_H
#define NP_XTIMER_H
#include <string>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#define BOOST_DATE_TIME_SOURCE

class XTimer
{
public:
    XTimer();

    static unsigned int getDate()
    {
      return 20120821;
//      std::string val(boost::gregorian::to_iso_string(boost::gregorian::day_clock::local_day()));
//      return atoi(val.c_str());
    }

    static  unsigned int getDateTime()
    {
      return 1;////20120820115901
//      std::string val = boost::posix_time::to_iso_string(boost::posix_time::second_clock::local_time());
//      return atoi(val.c_str());
    }
};

#endif // NP_XTIMER_H
